package com.jltx.xq.simplewatch.video.presenter;

import com.jltx.xq.simplewatch.base.presenter.BasePresenter;

/**
 * @author jltxseo
 *         Created by junlintianxia on 2017/09/06.
 */

public abstract class ITopicNewsPresenter<V> extends BasePresenter<V> {

    public ITopicNewsPresenter(V view) {
        super(view);
    }

    /**
     * 获取今日头条的新闻列表
     * @param channel
     * @param isDown
     */
    public abstract void getTopicNews(String channel,boolean isDown);

    /**
     * 通过原链接获取今日头条单条新闻的视频网络路径
     * @param srcUrl
     * @param title
     * @param position
     */
    public abstract void getTopicNewsVideoPath(String srcUrl, String title,int position);

    public abstract Integer getLastNewsRecordPage();
}
